package com.wy.service.impl;

import com.wy.entity.Order;
import com.wy.mapper.OrderMapper;
import com.wy.service.IOrderService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 订单表 服务实现类
 * </p>
 *
 * @author 王昭贵
 * @since 2023-04-23
 */
@Service
public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements IOrderService {
    @Resource
    private OrderMapper orderMapper;
    public List<Order> getOrderList() {
        List<Order> orderList = orderMapper.getOrderList();
        return orderList;
    }
}
